class UserTypeEntity {
	int code;
	UserTypeData data;
	String message;

	UserTypeEntity({this.code, this.data, this.message});

	UserTypeEntity.fromJson(Map<String, dynamic> json) {
		code = json['code'];
		data = json['data'] != null ? new UserTypeData.fromJson(json['data']) : null;
		message = json['message'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['code'] = this.code;
		if (this.data != null) {
      data['data'] = this.data.toJson();
    }
		data['message'] = this.message;
		return data;
	}
}

class UserTypeData {
	List<UserTypeDataTaglist> tagList;

	UserTypeData({this.tagList});

	UserTypeData.fromJson(Map<String, dynamic> json) {
		if (json['tagList'] != null) {
			tagList = new List<UserTypeDataTaglist>();(json['tagList'] as List).forEach((v) { tagList.add(new UserTypeDataTaglist.fromJson(v)); });
		}
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		if (this.tagList != null) {
      data['tagList'] =  this.tagList.map((v) => v.toJson()).toList();
    }
		return data;
	}
}

class UserTypeDataTaglist {
	String tagName;
	String id;
	int status;

	UserTypeDataTaglist({this.tagName, this.id, this.status});

	UserTypeDataTaglist.fromJson(Map<String, dynamic> json) {
		tagName = json['tag_name'];
		id = json['id'];
		status = json['status'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['tag_name'] = this.tagName;
		data['id'] = this.id;
		data['status'] = this.status;
		return data;
	}
}
